# Swap caps lock and escape
xmodmap \
    -e 'remove Lock = Caps_Lock' \
    -e 'keysym Escape = Caps_Lock' \
    -e 'keysym Caps_Lock = Escape' \
    -e 'add Lock = Caps_Lock'

dbus-update-activation-environment DISPLAY XAUTHORITY

dir="${HOME}/.local/share/deskdirs/${DISPLAY}"
rm "$dir"/* || mkdir -p "$dir"

exec bspwm
